package com.example.demo.service;

import com.example.demo.entity.*;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HospitalService {
    List<HospitalTypeInfo> findHospitalTypeInfo();

    List<HospitalAreaInfo> findHospitalAreaInfo();

    List<Hospital> findHospital();

    List<HospitalPointRank> findHospitalPointRank();

    List<HospitalPopularityRank> findHospitalPopularityRank();

    PageInfo<Hospital> selectHospitalPage(Integer pageNum, Integer pageSize);

    Hospital findHospitalByName(String name);

    void insertHospital(Hospital hospital);

    Hospital findHospitalById(int id);

    void updateHospitalEX(Hospital hospital1);

    void updateHospital(Hospital hospital);

    void deleteHospital(int id);
}
